package cn.wolfcode.web.feign.fallback;

import cn.wolfcode.common.web.Result;
import cn.wolfcode.domain.SeckillProduct;
import cn.wolfcode.web.feign.SeckillProductFeignApi;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Gekor
 * @date Create on 2021/9/11 20:18
 */
@Component
public class SeckillProductFeignFallback implements SeckillProductFeignApi {
	@Override
	public Result<List<SeckillProduct>> queryTime(Integer time) {
		return null;	//兜底数据返回null
	}
}
